//
//  StageEnemy.h
//  airfight
//
//  Created by aaron more on 12-9-12.
//  Copyright (c) 2012年 moonriver. All rights reserved.
//

#ifndef airfight_StageEnemy_h
#define airfight_StageEnemy_h

#include "cocos2d.h"

USING_NS_CC;

class StageEnemy : public CCObject
{
    
    CC_SYNTHESIZE(int,m_enemyID,EnemyID); //id
    CC_SYNTHESIZE(int,m_enemyTag,EnemyTag); //tag
    CC_SYNTHESIZE(int,m_traceId,TraceID); //移动类型
    CC_SYNTHESIZE(int,m_startY,StartY); //以y坐标作为进入场景的时机
    CC_SYNTHESIZE(int,m_bonusId,BonusID); //掉落物品ID
    CC_SYNTHESIZE(int,m_isBoss,IsBoss); //是否是BOSS 1:是 0:否
    
protected:
    CCPoint m_enterPos; //发射点
    
public:
    StageEnemy();
    ~StageEnemy();
    
    inline CCPoint getEnterPos() { return m_enterPos; }
    inline void setEnterPos(int x,int y) { m_enterPos = CCPointMake(x,y); }
    
    
};

#endif
